package com.example.administrator.myweiyue.ui.component;

import com.example.administrator.myweiyue.ui.component.scope.FragmentScope;
import com.example.administrator.myweiyue.ui.fragment.news.NewFragment;
import com.example.administrator.myweiyue.ui.fragment.video.VideoFragment;

import dagger.Component;

/**
 * Created by Administrator on 2018-01-23.
 */
@FragmentScope
@Component(dependencies = AppComponent.class)
public interface NewComponent {
   //形参胡的类型不能是父类，并且要是同一个父类
   void inject(NewFragment videoFragment);
   void inject(VideoFragment videoFragment);}
